bug fix in applycalpar