location reinitialization fix