fixed some debug messages