foreach warning be gone