avoid that when data was loaded twice break the pagination