same tryCatch() error handling added to subset.app