fix path escaping