fixed bug when create event fields remained after logging out