clear method for a temporary field