sqlite: fix