working input normalizer