log fatalf correctly