log helpers run twice