it's not necessary to create two the same objects, remove it and exchange every searchPage objects into search