added destroy method for form extractor