fixed bug with bullet firing