better error handling for empty stash