fixes for GenericInlineModelResource