fixed key length trimmer
Merge branch 'hotfix/0.3.2'