fix cd favorite_path bug