fix FITS header stuff