remove debuf code