Fixing bugs for Twitter plugin.