fixed emission of code in case of ignored fields or types