refine wait UI