fix textinputmask failures