scheduler: fix on IP resolving