Fixed expcetion if lang=0