accept mask: 9999 as valid masktemplate