fixed the button query string