fixed bug detected by checkstyle