arglen check
Merge pull request #1 from akurniko/master

Small fixes. thanks @akurniko