modify target type.