fix bug and add clear method

Signed-off-by: brucefengnju <brucechenofnju@gmail.com>
update version

Signed-off-by: brucefengnju <brucechenofnju@gmail.com>