Fix a text dome useless code