improve pcd handling on notebook