made changes to support new value-mask-pad field of valueparam structures