Fix format paths