fixed bug with recalc[2]