better exception throwing
corrected composer.json