Fix bug in composer.