fix render_g code for 3xAN constructs