Fix 2index error if does not exist