checkstyle errors fixed