fixing Automask