fix IMS calc styles