fixed gameplay bugs