bug with sparse parameterization