how to do magic protection