fix for error condition in WC data lookup