fix: #30

clear() method did not working