adding support for url encoded search terms