avoid another possible UI thread violation exception