fixed stream location bug