fix extract