fixed error in logger statement