Fix error with gettetxt