fix some issue on iPad