HAndling of crash of array out of bound.