Fixes a calc_set error