Replace c format function with real plugin