directory rebased