fix manifest
make sure we get tag before trying to use it