fix NSString not defined bug