fixed confirm warning