tidy up and anchor links