add: setting minpoly clears variables
fix: syntax