Fixed autofire issue