correction in Globals.findObjectById