fix flags
fix warnings for Render.Instr