removed checkstyle warnings
null pointer in debug message