fix app glitches