point cloud creation bugfix