change paragraph input to number type