removes debug messages