nested svg problems
improvements