creating vectors bugfix