Fix bar module for changes in vector.h