removing html debug messages