fix: better error checking on curve node