mask correction