fixes code for tweet stream