fix some bug found by checkstyle.