correct error in sql file