Changed path setting to path = {...}[kind]()