fixed bug in text ids