refixed sqlite warning bonanza