fix 1-d graphics