remove dependency to foreach package