unify some debug messages