Fixed Invade bug