changed debug messages