fix dir, base of conv_int_str