remove pyfits import on functions files