Fixed textContent bug