fix for differences in pywcs functionality