rename mask->maze