couple of ios/safari fixes