how to prevent ladders with magic loop