fixed unset index