change mod1mask to mod4mask