restore prefix before going further downstream