fix graphical errors