trying to fix collision error