bug fixes - trying to fix changeParameterValues