fixed new DB call