Fix stupid bug in logs