fix unevaluated length func
Merge pull request #5 from adamshih/5

Fix unevaluated length func