clear button not working