added global option for db widget