updated ws_fitqual macro