TryParseInt modified