fixed debug printing same ip for same role