fix messages in logger