fix for simple input mask not updating