auto open stream