replaced try/except clause by if/elif
fixed process_tweet function