fix of collision controlling