fixed code for checkstyle