Fixed crash because of out of bound index