fix the sm-confirm-issue