fixes ignore_missing option and unknown index