fix demo page for iOS