fix collision checker