minor updates for the custom BCs and fix typo (probably) in setting BCs