fix some typos

- also use db network from attributes/env