Bug fix

Replaced text by innerText