sqlite bugfix