index is not exists 1 function