fixes for event edit