fix sql file error