ticket:3 db issue#7