messed up the collision detection