renderer2: warning fixes