bugfix for auto_locale routing