fix bad references to logger