fixed non-async examples