fix leaking logs *blush*