corrected the mask