added catch for iphone