fixing extract