fixed usage of the innerText