clear button bugfix