misc verify add some common utilitys