added separate error message for bad querystring.  Feel free to change