bug resolve: swapped listener count by port