tidying up paths