new_error foreach