Apple working to fix iPhone 6 glitch