fix a rendering issue