fix problem of firing