weird array out of bound exception while testing on nexus 10