calc small fix