Fixed language detection in semi static controller