change the title based on query string