small fix in logger