fix shooting bug