fixed some mistakes done before at vectors