masks: fix bug in last commit