fixed composition bug

see #135