fixed logging message