remove error in sql file