fixing checkstyle warnings