cleaned up links tab content code