the bug in collisions is now corrected