fix the bullet detection bug