fix verification error and UI