Refactor disable bit for mask