Fix make_path bug