fixed some checkstyle warnings for #42