fixing extract folder for spark