Fixed bug with compositions