revise the bug
model alert must in main thread