search page class overwrite fix