fixed sqlite .sql file