made a small change to enable the cell to be used in iOS 6