fix fatalf usage