cleaning and add click handler for a tags 4