Test if wsfits is defined first