collision detection, close #33