fixes incorrect language being set