improve code because weibo upgaded to 0.2.0 and fixed some bugs