             if message.mediaType == MessageMediaType.SectionDate.rawValue {
 
                 let cell = collectionView.dequeueReusableCellWithReuseIdentifier(chatSectionDateCellIdentifier, forIndexPath: indexPath) as! ChatSectionDateCell
-
                 return cell
             }
 

                        
                        if let cell = cell as? ChatRightImageCell {
                            
                            cell.configureWithMessage(message, messageImagePreferredWidth: self.messageImagePreferredWidth, messageImagePreferredHeight: self.messageImagePreferredHeight, messageImagePreferredAspectRatio: self.messageImagePreferredAspectRatio, mediaTapAction: { [weak self] in
                                
                                if message.sendState == MessageSendState.Failed.rawValue {
                                    

                                    self?.performSegueWithIdentifier("showMessageMedia", sender: message)
                                }
                                
                            }, collectionView: collectionView, indexPath: indexPath)
                        }
                        
                    case MessageMediaType.Location.rawValue:
