revise branch filter