validate branch code