repaired sql file