fixed vec.h and geometry.h