path formatting