Fixed clear not working #717