replace TypeTag using Manifest