cleaned event registration