minor fixes in sqldump