fix NSString issue which stopped ST being activated correctly