clear button fixes