fix confirm button apply bug