make event edit view work