fixed language switcher to deal with query string parameters