Fix the confirm not working.