changed the debug messages