Correct invalid path.