fixed debug messages