Compose flag bug