make the path correct