avoid using iterator
Merge pull request #2 from layerssss/routerosfix

routerosfix