Correction of sql file