Remove new lines from event_controller