fix real_path not find bug and give a way to construct new link;