fix bug fire event