Fix: Clear the old syntax before applying the new one