rebuild path