improved language selector

fixed issue