[OES-125] - not casting strings to int can create troubles in ruby