Fixing some ipad issues