fix PHP Notice

PHP Notice:  Use of undefined constant next - assumed 'next'
PHP Notice:  Use of undefined constant theISOElement - assumed 'theISOElement'
PHP Notice:  Undefined variable: language