Fix slight error in logging