Fixed some of the debug messages