fixed up SHOW_SQL, this fixes #59