added mask to control widget