tidying trim links view