remove extra whitelisted branches.