foreach false raise an Error