fixeded nesting for amn which restored link