fixes for twitter, session