fixed graphical glitches