fixing bug in make-fpoly