Overriding a renderer with condition