ticket:3 db issue#6