remove the header mask