No more null pointer exception for collisions..
removed bug with the nullpointer for collisions.