fixed vectorOutput