Mealworms

Has anyone got any suggestions as to how to prevent magpies from eating 90% of the mealworms i put out? I use the feading tray on the RSPB feeding station and after about 15 minutes a pair of magpies have eaten all of them. Thanks