attempt to fix background mode in iOS