Maybe use `to_i` so it works for both 1.4 and 1.5 ?