Fixed a small error
Changed some log messages