clean up events controller