fixed the fix for primitive types mapped in definitions list