changed an incorrect cast from NSNumber to NSString