Small qdb changes