fixed some bug in create event