use new API for Zeta,add error handler for both