Cleaning up paths