fix formatter type