fixed a crash on bullet hit