Fixed NSMakeRange error