修改getRelativePosition
fix spell error