fix broken logger statement