Cast strings to numbers

when they should actually be numbers