rename configPath to path