Fixing confirmation check