MathInput only works when

I use to be able to type anything in mathinput box, now it will only accept a number or a line like 1+2x, but not x^2 or any expression. DO we know what’s wrong. I have been using the same activities for 3-4 years, now they don’t work.