I think you need to do string to number conversions here.