removing debug mask