fixed bug in edit event