make collision callbacks work