build paths correction