Collision error solved