rsbandpass2: fixed segfaults