change foreach params