Fix create NSIndexPath with invalid value
Fix index out of the array size
Pull messages data when data is not esxist