fix to schema dump script.