FIXED: a few forgotten references to db in DBAccessor