add support for new psutil api