fixed wierd bug. troubleshooting stream again.