fixed a few visual glitches