reverting back input tp numbers and only converting to string when needed