fixes deprecated parse_float parse_int
Merge pull request #239 from milktrader/master

fix deprecated parse_int parse_float