allow to save stream