fix wrong location reported