fix distructure method