tryed to stop blinking on page switch with hacks