Fixed ipad issues