Fix mask key.