fix gfx issue