fixed Text/String type error