fixing directory links