fixed syntax issue in logging messages