fix vector size