Small fix in db