fix: assigning minpoly