fix foreach inutil