Fixed compile error on vector