fix lastestReadingFromAllDevices bug