normalize router loop