obey coding style and changed log message