fix the 3d point non-sense