fixed the gun's bug