we need to revaluate dataMask flags everytime