fix bug getpoint api