make search tags with query string working