changed streamhandler