fix when getting element guid, rename variable