Malformed path fix