bug fixed for sql-detail.html
bug fixed for sql-detail.html