fixed bin_path bug