fixed bug when there were no tweets