[IA] fix new ratio bug cast