fixed typo in search functiion
fixed issue where wrong master page was being called