fixes collision test