Fix error with clim access
Handle next(err)