fix form to send query string