fix crash when create event page shows twice.