Fix verify for new api