workaround for secure stream issue