clean up path