Fix deprecated formatting