fixing the bugs about twitter and msging