fix issues in dynamic vector compression