reset button styles
more secure search query string parsing