fixes to gfx