lingering sqlite writer fixups