removed segfault in Vector