fix deprecated parse_int parse_float