Small correction to DB gateway.