make the lang selector work