Fix repeat enval bug

Fix repeat enval bug