fix bug for composer.json