rta: fast fix to avoid resolving illegal types.