fixed code that generates textId

changed from 8 to 7 digits