fix composition bug