fix request on main thread