slightly fancier way to read bug id from query string :-)
fix quoting for bug number