fixed collision detection issue, closes #12