fix duplicate DESTROY routine