checkstyle fixes in controller