fixed the confirmDish