remove testing code in eventController.js