Fix Sql file