rectification of the SQL file