fix #24  added back the random domain for streaming