cleaning up paths