fix error in logging