SQLLite fixes