tidying up links