fine tune check collide method