fixed commandblock confirm method.