fix is_measurable