fix event edit and add client validation