PCDWriter fix