bugfixes for atten bandpass cal