fix a bug in weibo error handler