fixed the bug of wrong location after change location by hand
fixed the bug of wrong location after change location by hand