Fixes .sql file