Fix bugs in event add form