Some fixes for iPad