cleanups loggin messages