Fixing Input mask that was lost in Logan's commit