remove erroneous popd