fixed max duration exceeded warning. invoke in main thread