correct log message and make work