Fixed bug sqlite3:ProgrammingError