fix extract handler index