bugfix for auto_locale auto re-routing