corrected bug with primal/dual and intro_6