Fix bug in remove composition