improve confirm support