fix extract path