fixes for ui glitches