nsstring extension bug fix