add loader in stream