trying to fix extract