adjust param for calculate