fixed logging messages