fix rapidfire bug