Fixed innerText validation
Fixed incorrect digits parsing