make db_item work