Solved a problem related to incorrect location display