tidy up comments in db gateways