modified debug messages