fixed minor bug in bc app. Updated doc.