Attempt to fix invalid path