fixed "ERROR: false flavourType assigned"