Fixed db relation.
Print gateway name.