added LANG handling