bug 893: changed $rc to $rc2