missing some argument,update working

amend recalc function, it was missing due to reverting to old version
during coding.