fixes for parameterization problem