AHA!! it was because i was using a string, needed to to_i it. damn thats frustrating