Fixed issues running with twitter 1.1 api version