Fix warning for format