fix wrong location element name[maybe this is not a good way to get location]