emergency fix to handle iOS7 deviceID bug