there is no next to be in foreach