some changes for linreq and fitpot.