working dir repair