Fixed Vector bug that cause leak