fix SetPoint issue