removed unused delta key in foreach loop
missed space in foreach (...)