fix eternal getting location issue