remove the extra popd