fix some location bug
wocao
fix location bug