add allow_stream & change stop item more reasonable