restore prefix before going further downstream

see #7