break loop when no more wids