Make verify python3 compatbile