Fix for TypeText