fix using fmt calls