working on fixing url handling and search escaping