Fix exception when importing uci