fixed bug in shooting