fixed bug of trigger event in user plugin