tidied up a couple of loggers