fix path issue with option as string