solved bug on creating annotation vectors