fixed issue with composer def