modified sqlite3 syntax error