fix a bug about wellpositon