Fixed bug in TRBP