Hopefully this fixes mess up in log