fixed typo in logging