Fixed logging message error