Bug fix on the clear button.