make composite view work