vector bugfix