fixed bug in tweet checking