fix fitstools.