fixed errors when getting active streams