set autofire for debug and update machineGun bonus
refactor