solve blocking UI Thread