minor bug fixes in ParameterGroup