fix extract doc