fix checkstyle errors causing travis build to fail