order of operations glitch