fixed doget and dopost on UI thread