fix the signal catch miss bug