Remove new line from end of controller.