fix the bug of point