fixes build for contant vector data