fix path conversion problem