bugfix in sql file