fixing compile error
Merge pull request #6 from ddavison/fix-compile-error

fixing compile error