replace traces of DEBUG_MSG