some corrections in sqlite3 storage