change outputstream class.