add hidden to mask. Fixes #521