bugs in fitpot.py was fixed.