fixed the prefix vector mistake