fix pointdataarray for vector data