minor adjustements in tweets code