search and apply page search feature adjusted correctly