Fixed clear method.