fix verification bug