remove unused fmt code