OrmLite fixes