tidy up application event interface