remove bug in collision discovery