fixed style bugs found by checkstyle