hack to fix confirmation