fix read remote streams