Type enum invalide replace to string