Corrected type error
Merge pull request #12 from JoeFairburn/master

Corrected type error