changes to make work with recent twitter api updates