next is invalid in eval