fix bug, add clear method
(dist) 0.2.1