bugfix for multiple nested names