fix bug and finish verify script