adapting to portstats-views.