Working extraction but some error still lingers