Clean up path definition