fix vector length bug