fix resize_calc()