link destory method