fixed numberOfElementsOnPage reading from context