fixed a bug when converting levels value to ip, now using convip, since ip_all was doing some nasty things.