clean up paths