fetch flag through server