rb filter bug fix