cleaning and add click handler for a tags 3