fixing Arguments to path.join must be strings