Coding improvement in TweetPage