add an extra check for uci_lookup