Fix logging error

see #127