path err fix