BUG: fix crash in BRAINSABC