better management of collision boxes