fix event show bug