add fail handler for render plugin