better error handling of edge cases in derived vars