end of saveTweets2 altered to avoid exception