Fix a type error
Merge pull request #158 from weiss/fix-lang-type

Fix a type error