remove isMainThread to App