fix var string to int
Merge pull request #14 from fparker9676/ForrestBranch

fix var string to int