Fixed bug when source miss data at the end of the list