fix log messages