update destroy: error was that we have a loop, we have to check of rthe end.