fix logging introduced in previous commit