fix a typo in logging