fix createevent