fixes use of string in addition operation.

or maybe you need another function that returns a float