fix compiling vectors