fixed fetchChanges Method msg.time --> msg.get('time')