fixed sql-statements in data-files