Fix call to subString which takes two params.