Fixed glitch, functions should function