fixed bug with collider