Fix logging :/