bugfix: loop over cluster.databases i.p.v. databases