changed indexes of elementas when calling diff page