clean up pushd/popd