cli and sei fixes