Bugfix, Invalid vector error