fix a bug
Merge pull request #12 from mothod/master

len(values) < 1,values's length may be 1 ?