svg replaced when clicked with a new agency