Fixed SQLite error
Fixed sqlite error