error fixes on Vector2D