functionality glitch fix