Fix 'clear_element'
Merge pull request #2 from binarin/master

Fix 'clear_element'