broken - fix graphics bugs