to fixup bug in InitializeRenderFormat