lint fix: avoid resource compiler crashes