collision and keyEnable