fixed native extraction