fixed collision detection bug